package com.gong.DesignPattern.MediatorPattern;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/6/30 0030 9:24
 */
public class ChatRoom {

    public void showMessage(User user,String msg){
        System.out.println(user.getName()+":"+msg);
    }
}
